package com.example.hotelsystem.service;

import com.example.hotelsystem.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hotelsystem.entity.vo.RoomSearchVO;
import com.example.hotelsystem.result.Result;

import java.util.Date;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lee
 * @since 2020-10-14
 */
public interface RoomService extends IService<Room> {

    public Result searchRoomList(RoomSearchVO roomSearchVO);

    /*
    查看特定状态下的房间列表
     */
    public Result screenRoomList(Integer currentPage,Integer status);

    /*
    房间列表
     */
    public Result roomList(Integer currentPage);



    /*
    特定时间段内可以预定的房间
     */
    public Result BookableRoomList(Integer currentPage, Date checkinTime, Date checkoutTime);


    /*
    房间详情
     */
    public Result roomVIew(Long id);

}
